package com.power.sifa.approve.api;

import com.plf.common.domain.ResponseDTO;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;
import com.power.sifa.approve.model.Apl_limdelay_hear;
import com.power.sifa.approve.model.pageInfo.Apl_limdelay_hearPageInfo;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 *  审理时限延期记录 Feign
 */
public interface IApl_limdelay_hearFeign {

    /**
     * 审理时限延期记录分页列表
     */
    @PostMapping("/apl_limdelay_hear/list")
    ResponseDTO list(@RequestBody Apl_limdelay_hearPageInfo apl_limdelay_hearPageInfo);

    /**
    * 查看审理时限延期记录
    */
    @GetMapping("/apl_limdelay_hear/view")
    ResponseDTO view(@RequestParam("id") String id);

    /**
    * 删除审理时限延期记录
    */
    @PostMapping("/apl_limdelay_hear/delete")
    ResponseDTO delete(@RequestParam("id") String id);

    ///**
    // * 查看审理时限延期记录 复合主键使用
    // */
    //@PostMapping("/apl_limdelay_hear/viewByPK")
    //ResponseDTO viewByPK(@RequestBody Apl_limdelay_hear.Apl_limdelay_hearPK pk);

    /**
     * 修改或保存审理时限延期记录
     */
    @PostMapping("/apl_limdelay_hear/save")
    ResponseDTO save(@RequestBody Apl_limdelay_hear  apl_limdelay_hear);

    ///**
    // * 删除审理时限延期记录 复合主键使用
    // */
    //@PostMapping("/apl_limdelay_hear/deleteByPK")
    //ResponseDTO deleteByPK(@RequestBody Apl_limdelay_hear.Apl_limdelay_hearPK pk);
    
    /**
     * 批量删除审理时限延期记录
     */
    @PostMapping("/apl_limdelay_hear/batchDel")
    ResponseDTO batchDel(@RequestParam("ids") String ids);
    
     /**
     * 导出excel
     */
    @PostMapping("/apl_limdelay_hear/output")
    void output(HttpServletResponse response, @RequestBody Apl_limdelay_hearPageInfo apl_limdelay_hearPageInfo);
        
     /**
     * 导出excel模板
     */
    @PostMapping("/apl_limdelay_hear/exportExcelTemplate")
    void exportExcelTemplate(HttpServletResponse response);
    
     /**
     *	导入excel
     */
    @PostMapping("/apl_limdelay_hear/importExcel")
    ResponseDTO importExcel(@RequestBody MultipartFile file) throws IOException ;
    
}
